package com.xuecheng.media.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 媒体文件未转码异常
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/14 21:01
 */
public class MediaFileNotConvertedException extends XCPlusBaseException {

    MediaFileNotConvertedException(String message) {
        super(message);
    }

    public static void cast(){
        throw new MediaFileNotConvertedException(MediaError.MEDIA_FILE_NOT_CONVERTED.getErrMessage());
    }
}
